package k3;



import java.io.Serializable;
import java.util.ArrayList;

public class BagState implements Serializable{
	public int level;
	public int value;
	public int weight;
	public int bound;
	public ArrayList<Item> objects;
	public BagState prvState;
	public boolean wasAdded;
	
	public BagState(int level, int value, int weight, int bound, BagState prvState, boolean wasAdded){
		this.level=level;
		this.value=value;
		this.weight=weight;
		this.bound=bound;
		this.objects=new ArrayList<Item>();
		this.prvState=prvState;
		this.wasAdded=wasAdded;
	}
}
